#ifndef __CLIENT__
#define __CLIENT__
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <strings.h>
#include <sys/socket.h>
#include <pthread.h>
#include <unistd.h>
#include <error.h>
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/epoll.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
typedef struct train_s{
    int length;
    char data[4096];
}train_t;
int loginFunc(int sockfd);
int cdFunc(int sockfd,char* p);
int pwdFunc(int sockfd);
int mkdirFunc(int sockfd);
int rmdirFunc(int sockfd);
int recvn(int netfd,void* buf,int length);
int lsFunc(int sockfd);
int removeFunc(int sockfd);
int putsFunc(int sockfd,const char* filename);
#endif
